package com.mnxc.gxa.service;

import com.mnxc.gxa.dto.Result;
import com.mnxc.gxa.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mnxc
 * @since 2023-06-29
 */
public interface IUserRoleService extends IService<UserRole> {
    Result getRolesByUserId(Integer userId);

    Result changeUserRoles(List<Long> roleIds, Long userId);
}
